/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package ec.edu.ups.cidi.siia.plamdep.desktop.gui;

import javax.swing.JCheckBox;

import ec.edu.ups.cidi.siia.plamdep.utils.Log;

/**
 *
 * @author user
 */
public class ConsolaPanel extends javax.swing.JPanel {

    /**
     * Creates new form ConsolaPanel
     */
    public ConsolaPanel() {
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jScrollPane1 = new javax.swing.JScrollPane();
        txtConsola = new javax.swing.JTextArea();
        jPanel1 = new javax.swing.JPanel();
        ckLevelMsg = new javax.swing.JCheckBox();
        ckLevelSucess = new javax.swing.JCheckBox();
        ckLevelError = new javax.swing.JCheckBox();
        ckLevelWarning = new javax.swing.JCheckBox();
        ckLevelLoad = new javax.swing.JCheckBox();
        jPanel3 = new javax.swing.JPanel();
        ckMsgModAlgoritmo = new javax.swing.JCheckBox();
        ckMsgModLexico = new javax.swing.JCheckBox();
        ckMsgModWebCrawler = new javax.swing.JCheckBox();
        ckMsgModEjecutor = new javax.swing.JCheckBox();
        ckMsgModGui = new javax.swing.JCheckBox();
        ckMsgModUtils = new javax.swing.JCheckBox();
        ckMsgModCargaDocs = new javax.swing.JCheckBox();
        ckMsgModConfig = new javax.swing.JCheckBox();
        ckMsgModJar = new javax.swing.JCheckBox();
        jButton1 = new javax.swing.JButton();

        txtConsola.setColumns(20);
        txtConsola.setRows(5);
        jScrollPane1.setViewportView(txtConsola);

        jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder("FILTRO DE SALIDA POR TIPO DE MENSAJE"));

        ckLevelMsg.setSelected(true);
        ckLevelMsg.setText("MSG");
        ckLevelMsg.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ckLevelMsgActionPerformed(evt);
            }
        });

        ckLevelSucess.setSelected(true);
        ckLevelSucess.setText("SUCESS");
        ckLevelSucess.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ckLevelSucessActionPerformed(evt);
            }
        });

        ckLevelError.setSelected(true);
        ckLevelError.setText("ERROR");
        ckLevelError.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ckLevelErrorActionPerformed(evt);
            }
        });

        ckLevelWarning.setSelected(true);
        ckLevelWarning.setText("WARNING");
        ckLevelWarning.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ckLevelWarningActionPerformed(evt);
            }
        });

        ckLevelLoad.setSelected(true);
        ckLevelLoad.setText("LOAD");
        ckLevelLoad.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ckLevelLoadActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addComponent(ckLevelMsg, javax.swing.GroupLayout.PREFERRED_SIZE, 123, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(ckLevelSucess, javax.swing.GroupLayout.PREFERRED_SIZE, 156, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(ckLevelLoad, javax.swing.GroupLayout.PREFERRED_SIZE, 123, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(ckLevelWarning, javax.swing.GroupLayout.PREFERRED_SIZE, 123, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(ckLevelError, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(ckLevelMsg)
                        .addComponent(ckLevelSucess))
                    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(ckLevelLoad)
                        .addComponent(ckLevelWarning)
                        .addComponent(ckLevelError)))
                .addGap(0, 0, Short.MAX_VALUE))
        );

        jPanel3.setBorder(javax.swing.BorderFactory.createTitledBorder("FILTRO DE SALIDA POR MODULOS"));

        ckMsgModAlgoritmo.setSelected(true);
        ckMsgModAlgoritmo.setText("ALGORITMO");
        ckMsgModAlgoritmo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ckMsgModAlgoritmoActionPerformed(evt);
            }
        });

        ckMsgModLexico.setSelected(true);
        ckMsgModLexico.setText("LEXICO");
        ckMsgModLexico.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ckMsgModLexicoActionPerformed(evt);
            }
        });

        ckMsgModWebCrawler.setSelected(true);
        ckMsgModWebCrawler.setText("WEB-CRAWLER");
        ckMsgModWebCrawler.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ckMsgModWebCrawlerActionPerformed(evt);
            }
        });

        ckMsgModEjecutor.setSelected(true);
        ckMsgModEjecutor.setText("EJECUTOR");
        ckMsgModEjecutor.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ckMsgModEjecutorActionPerformed(evt);
            }
        });

        ckMsgModGui.setSelected(true);
        ckMsgModGui.setText("GUI");
        ckMsgModGui.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ckMsgModGuiActionPerformed(evt);
            }
        });

        ckMsgModUtils.setSelected(true);
        ckMsgModUtils.setText("UTILS");
        ckMsgModUtils.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ckMsgModUtilsActionPerformed(evt);
            }
        });

        ckMsgModCargaDocs.setSelected(true);
        ckMsgModCargaDocs.setText("CARGA-DOCS");
        ckMsgModCargaDocs.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ckMsgModCargaDocsActionPerformed(evt);
            }
        });

        ckMsgModConfig.setSelected(true);
        ckMsgModConfig.setText("CONFIG");
        ckMsgModConfig.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ckMsgModConfigActionPerformed(evt);
            }
        });

        ckMsgModJar.setSelected(true);
        ckMsgModJar.setText("GESTOR JAR");
        ckMsgModJar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ckMsgModJarActionPerformed(evt);
            }
        });

        jButton1.setText("Limpiar");
        jButton1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton1ActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
        jPanel3.setLayout(jPanel3Layout);
        jPanel3Layout.setHorizontalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel3Layout.createSequentialGroup()
                        .addComponent(ckMsgModAlgoritmo, javax.swing.GroupLayout.PREFERRED_SIZE, 123, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(ckMsgModLexico, javax.swing.GroupLayout.PREFERRED_SIZE, 156, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(ckMsgModGui, javax.swing.GroupLayout.PREFERRED_SIZE, 123, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(ckMsgModEjecutor, javax.swing.GroupLayout.PREFERRED_SIZE, 123, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(ckMsgModWebCrawler, javax.swing.GroupLayout.PREFERRED_SIZE, 1, Short.MAX_VALUE))
                    .addGroup(jPanel3Layout.createSequentialGroup()
                        .addComponent(ckMsgModUtils, javax.swing.GroupLayout.PREFERRED_SIZE, 123, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(ckMsgModCargaDocs, javax.swing.GroupLayout.PREFERRED_SIZE, 156, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(ckMsgModConfig, javax.swing.GroupLayout.PREFERRED_SIZE, 123, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(ckMsgModJar, javax.swing.GroupLayout.PREFERRED_SIZE, 123, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 123, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap())
        );
        jPanel3Layout.setVerticalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(ckMsgModAlgoritmo)
                        .addComponent(ckMsgModLexico))
                    .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(ckMsgModGui)
                        .addComponent(ckMsgModEjecutor)
                        .addComponent(ckMsgModWebCrawler)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(ckMsgModUtils)
                        .addComponent(ckMsgModCargaDocs))
                    .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(ckMsgModConfig)
                        .addComponent(ckMsgModJar)
                        .addComponent(jButton1)))
                .addGap(0, 0, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jScrollPane1)
                    .addComponent(jPanel1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, 81, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 138, Short.MAX_VALUE)
                .addContainerGap())
        );
    }// </editor-fold>//GEN-END:initComponents

    private void ckLevelMsgActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ckLevelMsgActionPerformed
        // TODO add your handling code here:
        setValue(((JCheckBox)evt.getSource()).isSelected(), ((JCheckBox)evt.getSource()).getText());
        
        
        
    }//GEN-LAST:event_ckLevelMsgActionPerformed

    private void ckLevelSucessActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ckLevelSucessActionPerformed
        setValue(((JCheckBox)evt.getSource()).isSelected(), ((JCheckBox)evt.getSource()).getText());
    }//GEN-LAST:event_ckLevelSucessActionPerformed

    private void ckLevelErrorActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ckLevelErrorActionPerformed
            setValue(((JCheckBox)evt.getSource()).isSelected(), ((JCheckBox)evt.getSource()).getText());
    }//GEN-LAST:event_ckLevelErrorActionPerformed

    private void ckLevelWarningActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ckLevelWarningActionPerformed
            setValue(((JCheckBox)evt.getSource()).isSelected(), ((JCheckBox)evt.getSource()).getText());
    }//GEN-LAST:event_ckLevelWarningActionPerformed

    private void ckLevelLoadActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ckLevelLoadActionPerformed
    setValue(((JCheckBox)evt.getSource()).isSelected(), ((JCheckBox)evt.getSource()).getText());
    }//GEN-LAST:event_ckLevelLoadActionPerformed

    private void ckMsgModAlgoritmoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ckMsgModAlgoritmoActionPerformed
        setValue(((JCheckBox)evt.getSource()).isSelected(), ((JCheckBox)evt.getSource()).getText());
    }//GEN-LAST:event_ckMsgModAlgoritmoActionPerformed

    private void ckMsgModLexicoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ckMsgModLexicoActionPerformed
            setValue(((JCheckBox)evt.getSource()).isSelected(), ((JCheckBox)evt.getSource()).getText());
    }//GEN-LAST:event_ckMsgModLexicoActionPerformed

    private void ckMsgModWebCrawlerActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ckMsgModWebCrawlerActionPerformed
            setValue(((JCheckBox)evt.getSource()).isSelected(), ((JCheckBox)evt.getSource()).getText());
    }//GEN-LAST:event_ckMsgModWebCrawlerActionPerformed

    private void ckMsgModEjecutorActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ckMsgModEjecutorActionPerformed
            setValue(((JCheckBox)evt.getSource()).isSelected(), ((JCheckBox)evt.getSource()).getText());
    }//GEN-LAST:event_ckMsgModEjecutorActionPerformed

    private void ckMsgModGuiActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ckMsgModGuiActionPerformed
            setValue(((JCheckBox)evt.getSource()).isSelected(), ((JCheckBox)evt.getSource()).getText());
    }//GEN-LAST:event_ckMsgModGuiActionPerformed

    private void ckMsgModUtilsActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ckMsgModUtilsActionPerformed
            setValue(((JCheckBox)evt.getSource()).isSelected(), ((JCheckBox)evt.getSource()).getText());
    }//GEN-LAST:event_ckMsgModUtilsActionPerformed

    private void ckMsgModCargaDocsActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ckMsgModCargaDocsActionPerformed
               setValue(((JCheckBox)evt.getSource()).isSelected(), ((JCheckBox)evt.getSource()).getText());
    }//GEN-LAST:event_ckMsgModCargaDocsActionPerformed

    private void ckMsgModConfigActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ckMsgModConfigActionPerformed
            setValue(((JCheckBox)evt.getSource()).isSelected(), ((JCheckBox)evt.getSource()).getText());
    }//GEN-LAST:event_ckMsgModConfigActionPerformed

    private void ckMsgModJarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ckMsgModJarActionPerformed
            setValue(((JCheckBox)evt.getSource()).isSelected(), ((JCheckBox)evt.getSource()).getText());
    }//GEN-LAST:event_ckMsgModJarActionPerformed

    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
        // TODO add your handling code here:
        txtConsola.setText("");
    }//GEN-LAST:event_jButton1ActionPerformed


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JCheckBox ckLevelError;
    private javax.swing.JCheckBox ckLevelLoad;
    private javax.swing.JCheckBox ckLevelMsg;
    private javax.swing.JCheckBox ckLevelSucess;
    private javax.swing.JCheckBox ckLevelWarning;
    private javax.swing.JCheckBox ckMsgLevel10;
    private javax.swing.JCheckBox ckMsgLevel5;
    private javax.swing.JCheckBox ckMsgLevel6;
    private javax.swing.JCheckBox ckMsgLevel7;
    private javax.swing.JCheckBox ckMsgLevel9;
    private javax.swing.JCheckBox ckMsgModAlgoritmo;
    private javax.swing.JCheckBox ckMsgModCargaDocs;
    private javax.swing.JCheckBox ckMsgModConfig;
    private javax.swing.JCheckBox ckMsgModEjecutor;
    private javax.swing.JCheckBox ckMsgModGui;
    private javax.swing.JCheckBox ckMsgModJar;
    private javax.swing.JCheckBox ckMsgModLexico;
    private javax.swing.JCheckBox ckMsgModUtils;
    private javax.swing.JCheckBox ckMsgModWebCrawler;
    private javax.swing.JButton jButton1;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JScrollPane jScrollPane1;
    public static javax.swing.JTextArea txtConsola;
    // End of variables declaration//GEN-END:variables


    public void setValue(boolean value, String name)
    {
    	
    	if(name.trim().equalsIgnoreCase("GUI"))Log.ENABLE_LOGGIN_MOD_GUI=value;
    	else if(name.trim().equalsIgnoreCase("CONFIG"))Log.ENABLE_LOGGIN_MOD_CONFIGURACION=value;
    	else if(name.trim().equalsIgnoreCase("CARGA-DOCS"))Log.ENABLE_LOGGIN_MOD_CARGA_DOCUMENTOS=value;
    	else if(name.trim().equalsIgnoreCase("LEXICO"))Log.ENABLE_LOGGIN_MOD_ANLS_LEXICO=value;
    	else if(name.trim().equalsIgnoreCase("EJECUTOR"))Log.ENABLE_LOGGIN_MOD_EJECUTOR=value;
    	else if(name.trim().equalsIgnoreCase("WEB-CRAWLER"))Log.ENABLE_LOGGIN_MOD_WEBCRAWLER=value;
    	else if(name.trim().equalsIgnoreCase("UTILS"))Log.ENABLE_LOGGIN_MOD_UTILS=value;
    	else if(name.trim().equalsIgnoreCase("GESTOR JAR"))Log.ENABLE_LOGGIN_MOD_CARGA_JAR=value;
    	else if(name.trim().equalsIgnoreCase("ALGORITMO"))Log.ENABLE_LOGGIN_MOD_ALGORITMO=value;
    	
    	if(name.trim().equalsIgnoreCase("ERROR"))Log.ENABLE_LOGGIN_LEVEL_ERROR=value;
    	else if(name.trim().equalsIgnoreCase("MSG"))Log.ENABLE_LOGGIN_LEVEL_MSG=value;
    	else if(name.trim().equalsIgnoreCase("SUCESS"))Log.ENABLE_LOGGIN_LEVEL_SUCESS=value;
    	else if(name.trim().equalsIgnoreCase("LOAD"))Log.ENABLE_LOGGIN_LEVEL_LOAD=value;
    	else if(name.trim().equalsIgnoreCase("WARNING"))Log.ENABLE_LOGGIN_LEVEL_WARNING=value;
    	
    }        
            
            

}
